<template>
  <div id="app">
    <!-- <Nav /> -->
    <router-view />
    <!-- <Footer /> -->
  </div>
</template>
<script>
import { WOW } from 'wowjs'
// import nav from './components/Nav.vue'
// import Footer from './components/Footer.vue'
export default {
  name: 'App',
  data() {
    return {}
  },
  components: {
    // Nav: nav
    // Footer: Footer
  },
  watch: {
    $route(to, from) {
      this.$nextTick(() => {
        new WOW({ mobile: true, live: true, scrollContainer: '.layout-content' }).init()
      })
    }
  }
}
</script>
<style lang="scss">
::-webkit-scrollbar {
  // 直接复制黏贴到样式页.css，完美解决
  display: none;
  /* background-color:transparent; */
}
</style>
